package com.lrl.naivete.service.impl;

import com.lrl.naivete.service.FileService;
import com.lrl.utils.qiniu.QiNiuUtil;
import org.springframework.web.multipart.MultipartFile;

public class FileServiceImpl implements FileService {
    @Override
    public String uploadFile(MultipartFile file) {
        String key = file.getOriginalFilename();
        QiNiuUtil.uploadMultipartFile(file,key,true);
        return null;
    }
}
